/*
 * Reflexis is Copyright (C) 2007, by it-raum.ch
 * martin.imobersteg@it-raum.ch
 *
 * It is free software; you can redistribute it and/or modify it under the terms of either:
 * a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or
 * b) the "Artistic License".
 */

#ifndef REFLODB_H
#define REFLODB_H 

#include "Probe.h"

#include <QtGui>
#include <QtSql>

class ProbeWriter : public QObject
{
	Q_OBJECT

public:
	ProbeWriter(QObject *parent);
	~ProbeWriter();

	bool connect();
	QString getClientName(QString id);
	void writeProbe(Probe probe);

private:
	QSqlDatabase m_db;

};

#endif // REFLODB_H 
